/**
 * @description 全局状态存储
 */
export default {
    namespaced: true,
    state: {
        commission_tax_status: 1,//佣金验证比例规则
        shopForm: {},//店铺认证数据
        deposit_money: 0,//保证金金额
        account_status: '',//账户签约状态 0: 微信完成 1:支付宝完成 2:二者都未完成 3:二者都已完成
    },
    mutations: {
        SET_COMMISSION_TAX_STATUS(state,value) {
            state.commission_tax_status = value;
        },
        SET_SHOP_FORM(state,data){
            state.shopForm = {
                ...data
            };
        },
        SET_DEPOSIT_MONEY(state,value){
            state.deposit_money = value;
        },
        SET_ACCOUNT_STATUS(state,value){
            state.account_status = value;
        }
    }
};
